%ion-modal-view#signin-page(hide-nav-bar="true" ng-controller="SigninCtrl")
  %ion-header-bar.bar-furion(align-title="center")
    %button.back-button(ng-click="goBack()")
    %h1.title 登录
    %button.button.button-clear.light(ng-click="open_modal('signup')") 注册

  %ion-content
    .text-center.padding-top-40
      %img.margin-bottom-30(src="img/logos/logo.png" width="50%")
      .list.list-divided.margin-top-10.list-session
        %label.item.item-input
          .input-label.dark-blue 手机号
          %input(type="tel" placeholder="请输入手机号" autocomplete="off" ng-model="account.phone" ng-change="changeInput('phone')" ng-focus="needMirror=true" ng-blur="needMirror=false")

        .mirror-strip(ng-if="needMirror != null" ng-class="{true: 'mirrorIn', false: 'mirrorOut'}[needMirror]")
          %span(ng-bind="account.phone ? (account.phone | phoneFilter) : ''")

        .divider.margin-bottom-20

        %label.item.item-input
          .input-label.dark-blue 登录密码
          %input(type="password" placeholder="请输入密码" autocomplete="off" ng-model="account.password" ng-change="changeInput('leave')")

      .row.padding-10.no-padding-bottom
        .col
        .col.text-right(ng-click="open_modal('get_pass')")
          %a.text-grey 忘记密码？

      .text-center
        %button.furion-button(ng-disabled="!canSubmit" ng-click="doSignin()") 登录
        .text-grey.margin-top-10(ng-click="open_modal('signup')") 还没有账号？赶快点击注册吧！
